package com.zjhd.sealcutting.service;

import com.zjhd.sealcutting.dto.SmsInfo;
import com.zjhd.sealcutting.utils.response.ResponseResult;

/**
 * TODO  短信服务
 *
 * @author wangchao
 * @version 1.0
 * @date 2020/11/19 17:13
 */
public interface SmsService {

    /**
     * TODO  发送短信
     * @author wangchao
     * @date 2020/11/19 17:37
     * @param
     * @return
     */
    ResponseResult sendSms(SmsInfo smsInfo)throws Exception;

    /**
     * TODO 根据手机号获取最新短信验证码
     * @author wangchao
     * @date 2020/11/19 18:12
     * @param
     * @return
     */
    String queryMobileSmsVerificationCode(String mobile)throws Exception;

}
